import Workflow from '@/router/boss/workflow/index'
import BrandOptimization from '@/router/boss/brand_optimization/index'
import OperatingCenter from '@/router/boss/operating_center/index'
import DataCenter from '@/router/boss/data/index'
import Chart from '@/router/boss/chart/index'
import Finance from '@/router/boss/finance/index'
import SystemSetting from '@/router/boss/system_setting/index'

const navs = [
  {title: '控制面板', icon: 'desktop', menu: 'main', flag: true},
  {title: '工作流程', icon: 'tasks', menu: 'workflow', flag: false},
  {title: '品牌优化', icon: 'eye', menu: 'brandOptimization', flag: false},
  {title: '运营中心', icon: 'beer', menu: 'operatingCenter', flag: false},
  {title: '数据中心', icon: 'database', menu: 'data', flag: false},
  {title: '图表分析', icon: 'area-chart', menu: 'chart', flag: false},
  {title: '财务报表', icon: 'money', menu: 'finance', flag: false},
  {title: '系统设置', icon: 'cogs', menu: 'systemSetting', flag: true}
]

const menus = {
  main: [],
  workflow: Workflow.menu,
  brandOptimization: BrandOptimization.menu,
  operatingCenter: OperatingCenter.menu,
  data: DataCenter.menu,
  chart: Chart.menu,
  finance: Finance.menu,
  systemSetting: SystemSetting.menu
}

export default {
  navs,
  menus
}
